Page({
  data: {
    markers: [{
      iconPath: "/resources/others.png",
      id: 0,
      latitude: 34.649615,
      longitude: 112.458144,
      width: 50,
      height: 50,
      callout:{
        display: 'BYCLICK',
        content:"洛阳博物馆",
        color:"#7a7374",
        borderRadius:25,
        borderWidth:1

      },
      label:{
        content:'洛阳古都',
        color: "#4d1018",
        anchorX: 34.649615,
        anchorY: 112.458144
      }
    }],
    circles: [
      {longitude: 112.458144,
      latitude: 34.649615,
      color: "#e16c96",
      /*fillColor:"#7a7374",*/
      radius: 228,
      strokeWidth: 2}
    ],
    polyline: [{
      points: [{
        longitude: 112.458144,
        latitude: 34.649615
      }, {
          longitude: 114.346885,
          latitude: 34.81515
        }, {
          longitude: 113.324520,
          latitude: 23.21229
        }],
      color: "#e16c96",
      width: 2,
      arrowLine:true,
      arrowIconPath:'/path/icon/aircraft.png',
      dottedLine: true
    }],
    controls: [{
      id: 1,
      iconPath: '/resources/location.png',
      position: {
        left: 0,
        top: 300 - 50,
        width: 50,
        height: 50
      },
      clickable: true
    }]
  },
  regionchange(e) {
    console.log(e.type)
  },
  markertap(e) {
    console.log(e.markerId)
  },
  controltap(e) {
    console.log(e.controlId)
  }
})